<?php
require_once('../phplib/include.inc.php');

class Home_Contact extends PageBase{
	public function Ini(){
		$this->GetInfo();
	}
	public function GetInfo(){
		$db = getDb();
		$re = $db->fetchOne("SELECT * FROM subhome WHERE s_name='联系我们'");
		$this->assign('subhomeinfo',$re);
	}
}
$a = new Home_Contact("file:".dirname(__FILE__)."/../home/contact.tpl.html");
$a->display();
?>